﻿package com.eitb.programas.ticker.properties{
	import flash.display.*;
	public class StagePropertiesFactory {
		public static const SIMPLE_UNA_COLUMNA:String="simpleUnaColumna";
		public static const SIMPLE_DOS_COLUMNAS:String="simpleDosColumnas";
		public static const TORTOLIKA:String="tortolika";
		public static function getFormato(formato:String):Object {
			switch (formato) {
				case StagePropertiesFactory.SIMPLE_UNA_COLUMNA :
					return StageProperties.SIMPLE_UNA_COLUMNA;
				case StagePropertiesFactory.SIMPLE_DOS_COLUMNAS :
					return StageProperties.SIMPLE_DOS_COLUMNAS;
				case StagePropertiesFactory.TORTOLIKA :
					return StageProperties.TORTOLIKA;
				default :
					return StageProperties.SIMPLE_UNA_COLUMNA;
			}
		}
	}
}